How to avoid XSS attacks using DomSanitizer service in AngularJS